package com.jinjie.system.controller;

import com.jinjie.base.model.Result;
import com.jinjie.system.DTO.LoginDto;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class LoginController {
    @PostMapping("/login")
    public Result login(@RequestBody LoginDto  dto){

        return Result.OK();
    }
    @PostMapping("/logout")
    public Result logout(){
        return Result.OK();
    }
    @PostMapping("/sso/login")
    public Result SsoLogin(){
        return Result.OK();
    }
}
